package com.dy.lock.screen.service;

import java.util.List;
import java.util.Map;

import com.dy.lock.screen.pojo.ShopCategoryInfo;
import com.dy.lock.screen.pojo.ShopInfo;

/**
 * 店铺service
 * 
 * @author java
 * 
 */
public interface ShopService {

	/**
	 * 根据主键查询
	 * 
	 * @param id
	 * @return
	 */
	public ShopInfo queryByPrimartKey(String id);

	/**
	 * 分页查询
	 * 
	 * @param map
	 * @return
	 */
	public List<ShopInfo> queryPage(Map<String, Object> map);

	/**
	 * 查询店铺最新文章
	 * 
	 * @param shopId
	 * @return
	 */
	public String queryNewestTitle(String shopId);

	/**
	 * 店铺分类信息分页查询
	 * 
	 * @param map
	 * @return
	 */
	public List<ShopCategoryInfo> queryShopCategoryList(Map<String, Object> map);

}
